import { createRouter, createWebHashHistory } from 'vue-router'
import SCAdd from '../views/sc/SCAdd.vue'
import SCList from '../views/sc/SCList.vue'
import SCdevPlan from '../views/sc/SCdevPlan.vue'
import SCdevPlanAll from '../views/sc/SCdevPlanAll.vue'
import SCcustmer from '../views/sc/SCcustmer.vue'
import Contact from '../views/sc/Contact.vue'

const routes = [
  {
    path: '/sc/add',
    name: 'scadd',
    component: SCAdd
  },
  {
    path: '/sc/list',
    name: 'SCList',
    component: SCList
  },
  {
    path: '/sc/devlist',
    name: 'SCdevPlan',
    component: SCdevPlan
  },
  {
    path: '/sc/devlistAll',
    name: 'SCdevPlanAll',
    component: SCdevPlanAll
  },
  {
    path: '/sc/custmerlist',
    name: 'SCcustmer',
    component: SCcustmer
  },
  {
    path: '/sc/Contact',
    name: 'Contact',
    component: Contact
  },
  
  // {
  //   path: '/about',
  //   name: 'about',
  //   component: () => import(/* webpackChunkName: "about" */ '../views/AboutView.vue')
  // }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
